package org.NooLab.itexx.browser;

import java.awt.event.MouseEvent;

import org.NooLab.itexx.ITexxWindowCommons;
import org.NooLab.itexx.ITexxWindowIntf;
import org.NooLab.itexx.retrieval.PageIntf;

import chrriis.dj.nativeswing.swtimpl.components.JWebBrowser;



public interface DjBrowserHostIntf {

	public static final int _OPTION_CLEAR_BROWSERACTION = 1;
	
	
	
	
	public void prepare(ITexxWindowIntf app);

	public JWebBrowser getWebBrowser();

	public void navigate(String requestUrl);

	String getBaseurl();

	String getGuidStr();

	void setUrl(String requestUrl);

	/** the contextStr (usually="itexx) is needed to distinguish it from clicks onto the browser page" */
	public void retrieve(String googleRequestUrl);
	
	public void retrieve(PageIntf page, String contextStr);

	public void setListener(DjBrowserListener listener);

	public void setPage(PageIntf page) ;

	public void setPageReference(PageIntf page);

	public void startCollecting();

	public boolean isCollecting();

	public void stopCollecting();

	DjBrowserListener getListener();

	

}
